package net.xiangcaowuyu.springcloud.alibaba.seata.dao;

import net.xiangcaowuyu.springcloud.alibaba.seata.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 博客：https://www.xiangcaowuyu.net
 * Description:
 *
 * @Author: 香草物语
 * DateTime: 2021-07-25 20:23
 */
public interface OrderDao {

    int create(Order record);

    int update(@Param("userId") Long userId, @Param("status") Integer status);

}